import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import less from 'less'

import store from "./store"

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import preview from 'vue-photo-preview'
import 'vue-photo-preview/dist/skin.css'

Vue.use(less)
Vue.use(ElementUI);
Vue.use(preview)

Vue.config.productionTip = false
Vue.prototype.$EventBus = new Vue()

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
